
package edu.zqu.collegeField.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.zqu.collegeField.project.dto.SchoolDto;
import edu.zqu.collegeField.project.po.School;
import org.springframework.stereotype.Repository;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 校区 Mapper 接口
 * </p>
 *
 * @author 廖森
 * @since 2020-06-28
 */
@Repository
public interface SchoolMapper extends BaseMapper<School> {
    List<SchoolDto> get(Map<String,String> map);//获取校区列表

    SchoolDto getById(Map<String,String> map);//获取校区

    String getNameById(Map<String,String> map);//获取校区名称

    SchoolDto getByName(Map<String,String> map);//获取校区
}
